import { createStyles } from 'antd-style';

const useStyles = createStyles(({ token }) => {
  return {
    optional: {
      color: token.colorTextSecondary,
      fontStyle: 'normal',
    },
    // 移除表单元素的底部边距
    noMarginBottom: {
      '& .ant-form-item': {
        marginBottom: 0,
      },
    },
  };
});

export default useStyles;
